#! /bin/bash

res=$(dig @$1 @$2)
left_cuted_res=${res#*Query time:}
cuted_res=${left_cuted_res%%msec*}
echo $cuted_res
